﻿using System;
using System.ComponentModel;

namespace WindowsAPI
{
    /// <summary>Виртуальные клавиши</summary>
    [Serializable]
    [Description("Виртуальные клавиши")]
    public enum VirtualKey : uint
    {
        /// <summary>Левая кнопка мыши</summary>
        [Description("Левая кнопка мыши")]
        LeftButton = 0x01,
        /// <summary>Правая кнопка мыши</summary>
        [Description("Правая кнопка мыши")]
        RightButton = 0x02,
        /// <summary></summary>
        [Description("")]
        Cancel = 0x03,
        /// <summary>Средняя кнопка мышы</summary>
        [Description("Средняя кнопка мышы")]
        MiddleButton = 0x04,
        /// <summary></summary>
        ExtraButton1 = 0x05,
        /// <summary></summary>
        ExtraButton2 = 0x06,
        /// <summary>BackSpace</summary>
        [Description("BackSpace")]
        BackSpace = 0x08,
        /// <summary>Tab</summary>
        [Description("Tab")]
        Tab = 0x09,
        /// <summary></summary>
        [Description("")]
        Clear = 0x0C,
        /// <summary>Return</summary>
        [Description("Return")]
        Return = 0x0D,
        /// <summary>Shift</summary>
        [Description("Shift")]
        Shift = 0x10,
        /// <summary>Control</summary>
        [Description("Control")]
        Control = 0x11,
        /// <summary>Меню</summary>
        [Description("Меню")]
        Menu = 0x12,
        /// <summary>Пауза</summary>
        [Description("Пауза")]
        Pause = 0x13,
        /// <summary>CapsLock</summary>
        [Description("CapsLock")]
        CapsLock = 0x14,
        /// <summary></summary>
        [Description("")]
        Kana = 0x15,
        /// <summary></summary>
        [Description("")]
        Hangeul = 0x15,
        /// <summary></summary>
        [Description("")]
        Hangul = 0x15,
        /// <summary></summary>
        [Description("")]
        Junja = 0x17,
        /// <summary></summary>
        [Description("")]
        Final = 0x18,
        /// <summary></summary>
        [Description("")]
        Hanja = 0x19,
        /// <summary></summary>
        [Description("")]
        Kanji = 0x19,
        /// <summary>Escape</summary>
        [Description("Escape")]
        Escape = 0x1B,
        /// <summary></summary>
        [Description("")]
        Convert = 0x1C,
        /// <summary></summary>
        [Description("")]
        NonConvert = 0x1D,
        /// <summary></summary>
        [Description("")]
        Accept = 0x1E,
        /// <summary></summary>
        [Description("")]
        ModeChange = 0x1F,
        /// <summary>Пробел</summary>
        [Description("Пробел")]
        Space = 0x20,
        /// <summary></summary>
        [Description("")]
        Prior = 0x21,
        /// <summary>Next</summary>
        [Description("Next")]
        Next = 0x22,
        /// <summary>End</summary>
        [Description("End")]
        End = 0x23,
        /// <summary>Home</summary>
        [Description("Home")]
        Home = 0x24,
        /// <summary>Стрелка влево</summary>
        [Description("Стрелка влево")]
        Left = 0x25,
        /// <summary>Стрелка вверх</summary>
        [Description("Стрелка вверх")]
        Up = 0x26,
        /// <summary>Стрелка вправо</summary>
        [Description("Стрелка вправо")]
        Right = 0x27,
        /// <summary>Стрелка вниз</summary>
        [Description("Стрелка вниз")]
        Down = 0x28,
        /// <summary></summary>
        [Description("")]
        Select = 0x29,
        /// <summary></summary>
        [Description("")]
        Print = 0x2A,
        /// <summary></summary>
        [Description("")]
        Execute = 0x2B,
        /// <summary></summary>
        [Description("")]
        Snapshot = 0x2C,
        /// <summary>Insert</summary>
        [Description("Insert")]
        Insert = 0x2D,
        /// <summary>Delete</summary>
        [Description("Delete")]
        Delete = 0x2E,
        /// <summary></summary>
        [Description("")]
        Help = 0x2F,
        /// <summary></summary>
        [Description("")]
        N0 = 0x30,
        /// <summary></summary>
        [Description("")]
        N1 = 0x31,
        /// <summary></summary>
        [Description("")]
        N2 = 0x32,
        /// <summary></summary>
        [Description("")]
        N3 = 0x33,
        /// <summary></summary>
        [Description("")]
        N4 = 0x34,
        /// <summary></summary>
        [Description("")]
        N5 = 0x35,
        /// <summary></summary>
        [Description("")]
        N6 = 0x36,
        /// <summary></summary>
        [Description("")]
        N7 = 0x37,
        /// <summary></summary>
        [Description("")]
        N8 = 0x38,
        /// <summary></summary>
        [Description("")]
        N9 = 0x39,
        /// <summary>A</summary>
        [Description("A")]
        A = 0x41,
        /// <summary>B</summary>
        [Description("B")]
        B = 0x42,
        /// <summary>C</summary>
        [Description("C")]
        C = 0x43,
        /// <summary>D</summary>
        [Description("D")]
        D = 0x44,
        /// <summary>E</summary>
        [Description("E")]
        E = 0x45,
        /// <summary>F</summary>
        [Description("F")]
        F = 0x46,
        /// <summary>G</summary>
        [Description("G")]
        G = 0x47,
        /// <summary>H</summary>
        [Description("H")]
        H = 0x48,
        /// <summary>I</summary>
        [Description("I")]
        I = 0x49,
        /// <summary>J</summary>
        [Description("J")]
        J = 0x4A,
        /// <summary>K</summary>
        [Description("K")]
        K = 0x4B,
        /// <summary>L</summary>
        [Description("L")]
        L = 0x4C,
        /// <summary>M</summary>
        [Description("M")]
        M = 0x4D,
        /// <summary>N</summary>
        [Description("N")]
        N = 0x4E,
        /// <summary>O</summary>
        [Description("O")]
        O = 0x4F,
        /// <summary>P</summary>
        [Description("P")]
        P = 0x50,
        /// <summary>Q</summary>
        [Description("Q")]
        Q = 0x51,
        /// <summary>R</summary>
        [Description("R")]
        R = 0x52,
        /// <summary>S</summary>
        [Description("S")]
        S = 0x53,
        /// <summary>T</summary>
        [Description("T")]
        T = 0x54,
        /// <summary>U</summary>
        [Description("U")]
        U = 0x55,
        /// <summary>V</summary>
        [Description("V")]
        V = 0x56,
        /// <summary>W</summary>
        [Description("W")]
        W = 0x57,
        /// <summary>X</summary>
        [Description("X")]
        X = 0x58,
        /// <summary>Y</summary>
        [Description("Y")]
        Y = 0x59,
        /// <summary>Z</summary>
        [Description("Z")]
        Z = 0x5A,
        /// <summary>Левая клавиша Windows</summary>
        [Description("Левая клавиша Windows")]
        LeftWindows = 0x5B,
        /// <summary>Правая клавиша Windows</summary>
        [Description("Правая клавиша Windows")]
        RightWindows = 0x5C,
        /// <summary></summary>
        [Description("")]
        Application = 0x5D,
        /// <summary>Кнопка вызова спящего режима</summary>
        [Description("Кнопка вызова спящего режима")]
        Sleep = 0x5F,
        /// <summary></summary>
        [Description("")]
        Numpad0 = 0x60,
        /// <summary></summary>
        [Description("")]
        Numpad1 = 0x61,
        /// <summary></summary>
        [Description("")]
        Numpad2 = 0x62,
        /// <summary></summary>
        [Description("")]
        Numpad3 = 0x63,
        /// <summary></summary>
        [Description("")]
        Numpad4 = 0x64,
        /// <summary></summary>
        [Description("")]
        Numpad5 = 0x65,
        /// <summary></summary>
        [Description("")]
        Numpad6 = 0x66,
        /// <summary></summary>
        [Description("")]
        Numpad7 = 0x67,
        /// <summary></summary>
        [Description("")]
        Numpad8 = 0x68,
        /// <summary></summary>
        [Description("")]
        Numpad9 = 0x69,
        /// <summary>*</summary>
        [Description("*")]
        Multiply = 0x6A,
        /// <summary>+</summary>
        [Description("+")]
        Add = 0x6B,
        /// <summary></summary>
        [Description("")]
        Separator = 0x6C,
        /// <summary>-</summary>
        [Description("-")]
        Subtract = 0x6D,
        /// <summary>.</summary>
        [Description(".")]
        Decimal = 0x6E,
        /// <summary>/</summary>
        [Description("/")]
        Divide = 0x6F,
        /// <summary>F1</summary>
        [Description("F1")]
        F1 = 0x70,
        /// <summary>F2</summary>
        [Description("F2")]
        F2 = 0x71,
        /// <summary>F3</summary>
        [Description("F3")]
        F3 = 0x72,
        /// <summary>F4</summary>
        [Description("F4")]
        F4 = 0x73,
        /// <summary>F5</summary>
        [Description("F5")]
        F5 = 0x74,
        /// <summary>F6</summary>
        [Description("F6")]
        F6 = 0x75,
        /// <summary>F7</summary>
        [Description("F7")]
        F7 = 0x76,
        /// <summary>F8</summary>
        [Description("F8")]
        F8 = 0x77,
        /// <summary>F9</summary>
        [Description("F9")]
        F9 = 0x78,
        /// <summary>F10</summary>
        [Description("F10")]
        F10 = 0x79,
        /// <summary>F11</summary>
        [Description("F11")]
        F11 = 0x7A,
        /// <summary>F12</summary>
        [Description("F12")]
        F12 = 0x7B,
        /// <summary>F13</summary>
        [Description("F13")]
        F13 = 0x7C,
        /// <summary>F14</summary>
        [Description("F14")]
        F14 = 0x7D,
        /// <summary>F15</summary>
        [Description("F15")]
        F15 = 0x7E,
        /// <summary>F16</summary>
        [Description("F16")]
        F16 = 0x7F,
        /// <summary>F17</summary>
        [Description("F17")]
        F17 = 0x80,
        /// <summary>F18</summary>
        [Description("F18")]
        F18 = 0x81,
        /// <summary>F19</summary>
        [Description("F19")]
        F19 = 0x82,
        /// <summary>F20</summary>
        [Description("F20")]
        F20 = 0x83,
        /// <summary>F21</summary>
        [Description("F21")]
        F21 = 0x84,
        /// <summary>F22</summary>
        [Description("F22")]
        F22 = 0x85,
        /// <summary>F23</summary>
        [Description("F23")]
        F23 = 0x86,
        /// <summary>F24</summary>
        [Description("F24")]
        F24 = 0x87,
        /// <summary>NumLock</summary>
        [Description("NumLock")]
        NumLock = 0x90,
        /// <summary>ScrollLock</summary>
        [Description("ScrollLock")]
        ScrollLock = 0x91,
        /// <summary></summary>
        [Description("")]
        NEC_Equal = 0x92,
        /// <summary></summary>
        [Description("")]
        Fujitsu_Jisho = 0x92,
        /// <summary></summary>
        [Description("")]
        Fujitsu_Masshou = 0x93,
        /// <summary></summary>
        [Description("")]
        Fujitsu_Touroku = 0x94,
        /// <summary></summary>
        [Description("")]
        Fujitsu_Loya = 0x95,
        /// <summary></summary>
        [Description("")]
        Fujitsu_Roya = 0x96,
        /// <summary>Левый Shift</summary>
        [Description("Левый Shift")]
        Shift_Left = 0xA0,
        /// <summary>Правый Shift</summary>
        [Description("Правый Shift")]
        Shift_Right = 0xA1,
        /// <summary>Левый Control</summary>
        [Description("Левый Control")]
        Control_Left = 0xA2,
        /// <summary>Правый Control</summary>
        [Description("Правый Control")]
        Control_Right = 0xA3,
        /// <summary>Левый Alt</summary>
        [Description("Левый Alt")]
        Alt_Left = 0xA4,
        /// <summary>Правый Alt</summary>
        [Description("Правый Alt")]
        Alt_Right = 0xA5,
        /// <summary>Броузер - назад</summary>
        [Description("Броузер - назад")]
        BrowserBack = 0xA6,
        /// <summary>Броузер - вперёд</summary>
        [Description("Броузер - вперёд")]
        BrowserForward = 0xA7,
        /// <summary>Броузер - обновить</summary>
        [Description("Броузер - обновить")]
        BrowserRefresh = 0xA8,
        /// <summary>Броузер - отменить</summary>
        [Description("Броузер - отменить")]
        BrowserStop = 0xA9,
        /// <summary>Броузер - поиск</summary>
        [Description("Броузер - поиск")]
        BrowserSearch = 0xAA,
        /// <summary>Броузер - избренное</summary>
        [Description("Броузер - избренное")]
        BrowserFavorites = 0xAB,
        /// <summary>Броузер - домой</summary>
        [Description("Броузер - домой")]
        BrowserHome = 0xAC,
        /// <summary>Отключить звук</summary>
        [Description("Отключить звук")]
        VolumeMute = 0xAD,
        /// <summary>Убавить громкость звука</summary>
        [Description("Убавить громкость звука")]
        VolumeDown = 0xAE,
        /// <summary>Прибавить громкость двука</summary>
        [Description("Прибавить громкость двука")]
        VolumeUp = 0xAF,
        /// <summary>Проигрыватель - следующая дорожка</summary>
        [Description("Проигрыватель - следующая дорожка")]
        MediaNextTrack = 0xB0,
        /// <summary>Проигрыватель - предыдущая дорожка</summary>
        [Description("Проигрыватель - предыдущая дорожка")]
        MediaPrevTrack = 0xB1,
        /// <summary>Проигрыватель - остановить воспроизведение</summary>
        [Description("Проигрыватель - остановить воспроизведение")]
        MediaStop = 0xB2,
        /// <summary>Проигрыватель - пауза</summary>
        [Description("Проигрыватель - пауза")]
        MediaPlayPause = 0xB3,
        /// <summary>Отправить почту</summary>
        [Description("Отправить почту")]
        LaunchMail = 0xB4,
        /// <summary></summary>
        [Description("")]
        LaunchMediaSelect = 0xB5,
        /// <summary>Запуск приложения 1</summary>
        [Description("Запуск приложения 1")]
        LaunchApplication1 = 0xB6,
        /// <summary>ЗАпуск приложения 2</summary>
        [Description("ЗАпуск приложения 2")]
        LaunchApplication2 = 0xB7,
        /// <summary></summary>
        [Description("")]
        OEM1 = 0xBA,
        /// <summary></summary>
        [Description("")]
        OEMPlus = 0xBB,
        /// <summary></summary>
        [Description("")]
        OEMComma = 0xBC,
        /// <summary></summary>
        [Description("")]
        OEMMinus = 0xBD,
        /// <summary></summary>
        [Description("")]
        OEMPeriod = 0xBE,
        /// <summary></summary>
        [Description("")]
        OEM2 = 0xBF,
        /// <summary></summary>
        [Description("")]
        OEM3 = 0xC0,
        /// <summary></summary>
        [Description("")]
        OEM4 = 0xDB,
        /// <summary></summary>
        [Description("")]
        OEM5 = 0xDC,
        /// <summary></summary>
        [Description("")]
        OEM6 = 0xDD,
        /// <summary></summary>
        [Description("")]
        OEM7 = 0xDE,
        /// <summary></summary>
        [Description("")]
        OEM8 = 0xDF,
        /// <summary></summary>
        [Description("")]
        OEMAX = 0xE1,
        /// <summary></summary>
        [Description("")]
        OEM102 = 0xE2,
        /// <summary></summary>
        [Description("")]
        ICOHelp = 0xE3,
        /// <summary></summary>
        [Description("")]
        ICO00 = 0xE4,
        /// <summary></summary>
        [Description("")]
        ProcessKey = 0xE5,
        /// <summary></summary>
        [Description("")]
        ICOClear = 0xE6,
        /// <summary></summary>
        [Description("")]
        Packet = 0xE7,
        /// <summary></summary>
        [Description("")]
        OEMReset = 0xE9,
        /// <summary></summary>
        [Description("")]
        OEMJump = 0xEA,
        /// <summary></summary>
        [Description("")]
        OEMPA1 = 0xEB,
        /// <summary></summary>
        [Description("")]
        OEMPA2 = 0xEC,
        /// <summary></summary>
        [Description("")]
        OEMPA3 = 0xED,
        /// <summary></summary>
        [Description("")]
        OEMWSCtrl = 0xEE,
        /// <summary></summary>
        [Description("")]
        OEMCUSel = 0xEF,
        /// <summary></summary>
        [Description("")]
        OEMATTN = 0xF0,
        /// <summary></summary>
        [Description("")]
        OEMFinish = 0xF1,
        /// <summary></summary>
        [Description("")]
        OEMCopy = 0xF2,
        /// <summary></summary>
        [Description("")]
        OEMAuto = 0xF3,
        /// <summary></summary>
        [Description("")]
        OEMENLW = 0xF4,
        /// <summary></summary>
        [Description("")]
        OEMBackTab = 0xF5,
        /// <summary></summary>
        [Description("")]
        ATTN = 0xF6,
        /// <summary></summary>
        [Description("")]
        CRSel = 0xF7,
        /// <summary></summary>
        [Description("")]
        EXSel = 0xF8,
        /// <summary></summary>
        [Description("")]
        EREOF = 0xF9,
        /// <summary></summary>
        [Description("")]
        Play = 0xFA,
        /// <summary></summary>
        [Description("")]
        Zoom = 0xFB,
        /// <summary></summary>
        [Description("")]
        Noname = 0xFC,
        /// <summary></summary>
        [Description("")]
        PA1 = 0xFD,
        /// <summary></summary>
        [Description("")]
        OEMClear = 0xFE
    }
}

// A = 10
// B = 11
// C = 12
// D = 13
// E = 14
// F = 15